GETWD
Section: C Library Functions (3)
Updated: May 12, 1986
Index
Return to Main Contents
NAME
getwd - get current working directory pathname
SYNOPSIS
char *getwd(pathname)
char *pathname;
DESCRIPTION
Getwd
copies the absolute pathname of the current working directory to
pathname
and returns a pointer to the result.
LIMITATIONS
Maximum pathname length is MAXPATHLEN characters (1024),
as defined in
<sys/param.h>.
DIAGNOSTICS
Getwd
returns zero and places a message in
pathname
if an error occurs.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- LIMITATIONS
-
- DIAGNOSTICS
-
This document was created by
man2html,
using the manual pages.
Time: 04:51:43 GMT, January 31, 2023